package com.gwd.task.repository;

import com.gwd.task.entity.ProductionEventsEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.stereotype.Repository;

import javax.transaction.Transactional;
import java.util.List;

/**
 * @author zhiyongming
 * @date 2020/12/2 18:02
 */
@Repository
public interface ProductionEventsRepository extends JpaRepository<ProductionEventsEntity, Long>, JpaSpecificationExecutor<ProductionEventsEntity> {
    List<ProductionEventsEntity> findByDevPersonInAndPeStatus(List<Long> ids, Integer status);
}
